<?php
/*
* Author：鑫宇工作室
* QQ：639519801
* url：www.xinyuream.com
*/
include_once $_SERVER['DOCUMENT_ROOT'].'/func/include.php';
$ac=input('ac');
switch($ac){
	case 'logout':
		admin_logout();
		break;
	case 'login':
		admin_login();
		break;
	case 'info':
		admin_info();
		break;
	case 'member':
		admin_member();// 用户列表
		break;
	case 'setstatus':
		admin_setstatus();
		break;
	case 'addmember':
		admin_addmember();
		break;
	case 'editmember':
		admin_editmember();
		break;
	case 'delmember':
		admin_delmember();
		break;
	case 'app':
		admin_app();//app 列表
		break;
	case 'setapp':
		admin_setapp();//设置app
		break;
	case 'addapp':
		admin_addapp();// 增加app
		break;
	case 'delapp':
		admin_delapp();// 删除app
		break;
	case 'card':
		admin_card();// 卡密管理
		break;
	case 'delcard':
		admin_delcard();// 删除卡密
		break;
	case 'addcard':
		admin_addcard();// 添加卡密
		break;
	case 'log':
		admin_log();
		break;
	case 'dellog':
		admin_dellog();
		break;
	case 'news':
		admin_news();
		break;
	case 'delnews':
		admin_delnews();
		break;
	case 'addnews':
		admin_addnews();
		break;
	case 'editnews':
		admin_editnews();
		break;
	case 'system':
		admin_system();
		break;
	case 'waf':
		admin_waf();
		break;
	case 'delwaf':
		admin_delwaf();
		break;
	case 'addwaf':
		admin_addwaf();
		break;
	case 'pass':
		admin_pass();
		break;
    case 'editapp':
        admin_editapp();// 修改app
        break;
    case 'appAdd':
        admin_appAdd();//上传app
        break;

	default:
		error_exit();
		break;
}





?>